Skip to content

NO TICKET: get transfer branch in pre-production | data validations#128

Merged
jirhiker merged 46 commits into
pre-productionfrom
jab-transfer-logging
Sep 12, 2025
Merged

NO TICKET: get transfer branch in pre-production | data validations#128
jirhiker merged 46 commits into
pre-productionfrom
jab-transfer-logging

Conversation

@jacob-a-brown

Copy link
Copy Markdown
Contributor

Why

This PR addresses the following problem / context:

  • pull data from GPC buckets
  • address data needs to be validated by pydantic
  • errors need to be logged

How

Implementation summary - the following was changed / added / removed:

  • merge transfer into logging branch
  • use pydantic to validate addresses
  • redirect std errors to the logger for transfers

Notes

Any special considerations, workarounds, or follow-up work to note?

  • Use bullet points here

jirhiker and others added 30 commits September 3, 2025 08:51
# Conflicts:
#	transfers/util.py
# Conflicts:
#	transfers/contact_transfer.py
# Conflicts:
#	transfers/contact_transfer.py
@jirhiker

Copy link
Copy Markdown
Member

Sorry for the miscommunication. I don't think transfer needs to be merged into pre-production. pre-production needs to be merged into transfer.

For this repo, we will maintain 3 branches: production, staging, and transfer. Commits made to staging will then be merged into production and transfer via PRs. Much of the transfer code is independent of the main purpose of the repo i.e., being an API, so I don't want it cluttering the production or staging branches

@jacob-a-brown

Copy link
Copy Markdown
Contributor Author

I do like that I can pull the csv tables from the GCP bucket now. It makes the repo a lot cleaner and is one source of truth for the data. For this PR I'm happy to leave everything in there, but remove the entrypoint.py script from transfers/. (Would that, however, remove that when staging gets merged in transfers?)

@codecov-commenter

codecov-commenter commented Sep 11, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
services/gcs_helper.py 0.00% 2 Missing ⚠️
Files with missing lines Coverage Δ
main.py 95.55% <100.00%> (+0.20%) ⬆️
services/gcs_helper.py 70.90% <0.00%> (-2.68%) ⬇️

@jirhiker jirhiker merged commit d19fc51 into pre-production Sep 12, 2025
3 checks passed
@TylerAdamMartinez TylerAdamMartinez deleted the jab-transfer-logging branch February 5, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants